package cn.wolfcode.wolf2w.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.ArrayList;
import java.util.List;

//景点
@Setter
@Getter
@ToString
@Document("spot")
public class Spot {
    @Id
    private String id;

    private String name; //景点的名称
    private  String phone;// 景点的电话
    private String CoverImg;
    private  Long Persionum;//景点参观人数
    private int daytime; //景点的用户参考时间
    private List<String> SpotUrl=new ArrayList<>(); //景点的相册
    private int urlNum;// 图片数量
    private String netsUrl; // 景点网址
    private List<String>SpotCount=new ArrayList<>(); //景点概况
    private List<String> SpotSubWays=new ArrayList<>();//交通方式
    private List<String> tickets=new ArrayList<>();//门票
    private List<String> openTime=new ArrayList<>();//开放时间





}
